package com.chenhao.springcloud.chenhaodesignservice.pattern.structural.decorator.v1;

/**
 * Description:
 *
 * @author chenhao
 * @date 2020/12/23 11:10
 */
public class BattercakeWithEggSausage extends BattercakeWithEagg {

    @Override
    public String getDesc(){
        return super.getDesc()+"加一根香肠";
    }
    @Override
    public int cost(){
        return super.cost()+2;
    }
}
